package emulator.hardware.bus;

import emulator.hardware.debug.BusWatchException;
import emulator.hardware.memory.UnmappedMemoryException;

/** System bus interface */
public interface Bus {
/*	void write(HwWord address, HwByte data) throws BusWatchException, UnmappedMemoryException;
	HwByte read(HwWord address) throws BusWatchException, UnmappedMemoryException; */
	void write(int address, int data) throws BusWatchException, UnmappedMemoryException;
	int read(int address) throws BusWatchException, UnmappedMemoryException;
}
